<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

<script type="text/javascript">
	$(document).ready(function(){
	});
</script>

<div class="box">
	<table>
		<tr>
			<td>#</td>
			<td>Mark</td>
			<td>Date</td>
			<td>IP</td>
		</tr>
		<c:forEach items="${logs}" var="log" varStatus="item">
			<tr>
				<td>${item.count}</td>
				<td>${log.mark}</td>
				<td><fmt:formatDate timeZone="Australia/Perth" value='${log.date}' type="both" dateStyle="full" timeStyle="full" /></td>
				<td>${log.ip}</td>
			</tr>
		</c:forEach>
	</table>
</div>
